<form [formGroup]="registerForm"
      (ngSubmit)="onSubmit()">
  <div class="p-fluid p-formgrid p-grid">
    <div class="p-field p-col-12 p-md-5">
      <label for="username">Username</label>
      <input
        id="username"
        type="text"
        formControlName="username"
        pInputText
      />
    </div>
  </div>

  <div class="p-d-flex p-jc-center">
    <button pButton type="submit" class="p-mr-2">
      Register
    </button>
  </div>
</form>




